projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a1f30
)
label: Initialize lines value to -1
author
Benjamin Otte
<otte@redhat.com>
Fri, 23 Aug 2013 16:26:59 +0000
(18:26 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 23 Aug 2013 16:27:12 +0000
(18:27 +0200)
Fixes defaultvalue test.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 56610b4bf6b2d88004fdd3571ae7a2a325dc1c1c..d5deb5759b07c107060e477626df75bb139d6579 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-1256,6
+1256,7
@@
gtk_label_init (GtkLabel *label)
priv->width_chars = -1;
priv->max_width_chars = -1;
priv->label = NULL;
+ priv->lines = -1;
priv->jtype = GTK_JUSTIFY_LEFT;
priv->wrap = FALSE;